from django.urls import path,re_path
from rest_framework.routers import SimpleRouter
from . import views
# router = SimpleRouter()
#
# router.register("course",views.CourseAPIView,basename="course")
#
urlpatterns = [
    path("course/",views.CourseAPIView.as_view()),
    re_path("^course/(?P<pk>\d+)/$",views.CourseAPIView2.as_view()),

    path("course1/",views.CourseGenericAPIView.as_view()),
    re_path("^course1/(?P<pk>\d+)/$",views.CourseGenericAPIView2.as_view()),

    path("course2/", views.CourseMixinsView.as_view()),
    re_path("^course2/(?P<pk>\d+)/$", views.CourseMixinsView2.as_view()),
]